/*
 * BaseLegend.java
 * $Id: $
 *
 * Revision History
 *
 * Date             |  Programmer   |  Notes
 * ----------------------------------------------------------
 * Jul 17, 2009        |      Zhengnan Zhou         |  initial
 * 
 * 
 * **********************************************************
 */

package tofc.elements;

import tofc.BaseOFC;
import tofc.style.TextStyle;

/**
 * Class description goes here.
 * 
 * @author		Zhengnan Zhou
 * @version 	$Revision$, Jul 17, 2009
 */
public abstract class BaseLegend extends BaseOFC{
    private String text;
    private String style;
    

    public BaseLegend(){
        this.text = "";
        this.style = "";
        
    }
    
    /**
     * @return the test
     */
    public String getText() {
        return text;
    }
    /**
     * @param text the text to set
     */
    public void setText(String text) {
        this.text = text;
    }

    public String getStyle() {
        return style;
    }

    public void setStyle(TextStyle css) {
        this.style = css.toCss();
    }
     
    
    
    
    
}
